For more information about ssh2 extension installation in php, see. 1. there are three servers in the operating system: 10.110.211.2 and three different versions. it is found that 11.2 does not need to be installed and has some extensions. If you
1, there are three servers, the operating system is: 10.1 10.2 11.2 Three different versions, found that 11.2 do not need to install, already have some extensions. If you do not have the installation, it may be convenient to complete the
1. There are three servers and the operating systems are 10.1 10.2 11.2 and 11.2. We found that does not need to be installed and has some extensions. If you have not installed yast, It is very convenient to install yast.
Test on the 10.1 server,
PHP remote Copy and execute command
PHP Remote copy files and when executing commands on a remote server, the module used is SSH2, and all subsequent operations are done according to the SSH2 connection handle.
1. SSH2 Module Installation 1.1
Environment: Linux Environment (Centos or RedHat)1. Confirm that the environment is installed PHP-5# Rpm-qa|grep Php-5Php-5.3.3-48.el6_8.x86_642, installation Ssh2 depends on the RPM package, such as the gray part of the display, the installation
Simple download of the source code of the SSH2 development shopping website, and download of the ssh2 source code
Original article: simple download of the source code of the SSH2 development shopping website
Source code:
1. Installing the SSH2 extension (1) window1 . Download PHP extension ssh2 http://windows.php.net/downloads/pecl/releases/ssh2/0.12/ Download according to your PHP version 2. After the decompression, there will be three files, Libssh2.dll,
Today there is nothing to say to everyone about Linux installation SSH2 expansion, want to install under the WinDOS but PHP expansion can not find, tears running ...So I can only do experiments in Linux, but all the same,,,,
Download Address
wget
1. Installing the SSH2 Extension
(1) window
1 download PHP extension ssh2 download address http://windows.php.net/downloads/pecl/releases/ssh2/0.12/ Download according to your PHP version 2. After the decompression, there will be three files,
1. Installing the SSH2 extension
(1) window
1. Download the PHP extension ssh2 download address http://windows.php.net/downloads/pecl/releases/ssh2/0.12/According to your PHP version to download 2. After the decompression, there will be three
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.